package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.AttributeEntity;
import org.apache.ibatis.annotations.Delete;

/**
 * <p>
 * 实体属性定义扩展 Mapper 接口
 * </p>
 *
 * @author dxd
 * @since 2020-09-03
 */
public interface DsEntityMapper extends BaseMapper<AttributeEntity> {

    @Delete("delete from ds_attribute where business_type = #{businessType} ")
    void deleteBybusinessType(String businessType);
}
